package ViewPackage;

import java.awt.Color;
import java.awt.Graphics;

public class MagicStoneButton extends MenuButton{
	
	private Color color;
	public MagicStoneButton(int x, int y, int width, int height,Color color) {
		super(x, y, width, height);
		this.color=color;
		
	}
	
	//Kitoltott kor es segedteglalap a megfelelo szinnel
	public void draw(Graphics g){
		//seged deglalap
//		g.setColor(Color.black);
//		g.drawRect(x, y, width, height);
		
		//A kitoltott kor
		g.setColor(color);
		g.fillOval(x,y,width,height);
	}
	

}
